package com.pds.web.monitor.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pds.web.monitor.domain.PdsMonitorTaskActivity;

import java.util.List;

public interface PdsMonitorTaskActivityMapper extends BaseMapper<PdsMonitorTaskActivity> {

    /**
     * 新增
     *
     * @param pdsMonitorTaskActivity
     * @return
     */
    int addActivity(PdsMonitorTaskActivity pdsMonitorTaskActivity);

    /**
     * 删除 -- 根据id
     *
     * @param id
     * @return
     */
    int deleteActivity(Long id);

    /**
     * 更新
     *
     * @param pdsMonitorTaskActivity
     * @return
     */
    int updateActivity(PdsMonitorTaskActivity pdsMonitorTaskActivity);

    /**
     * 查询 -- 分页/条件：taskId，activityName，activityDate
     *
     * @param pdsMonitorTaskActivity
     * @return
     */
    List<PdsMonitorTaskActivity> selectActivityList(PdsMonitorTaskActivity pdsMonitorTaskActivity);
}
